package cn.duli.myvideo.pojo;

import java.util.Date;

public class TvComment {
    private Integer tvcId;

    private Integer tvId;

    private Integer uId;

    private Date tvcTime;

    private String tvcContent;

    private Tv tv;

    private User user;

    public TvComment(Integer tvcId, Integer tvId, Integer uId, Date tvcTime,
                     String tvcContent, Tv tv, User user) {
        this.tvcId = tvcId;
        this.tvId = tvId;
        this.uId = uId;
        this.tvcTime = tvcTime;
        this.tvcContent = tvcContent;
        this.tv = tv;
        this.user = user;
    }

    public TvComment() {
        super();
    }

    public Integer getTvcId() {
        return tvcId;
    }

    public void setTvcId(Integer tvcId) {
        this.tvcId = tvcId;
    }

    public Integer getTvId() {
        return tvId;
    }

    public void setTvId(Integer tvId) {
        this.tvId = tvId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Date getTvcTime() {
        return tvcTime;
    }

    public void setTvcTime(Date tvcTime) {
        this.tvcTime = tvcTime;
    }

    public String getTvcContent() {
        return tvcContent;
    }

    public void setTvcContent(String tvcContent) {
        this.tvcContent = tvcContent == null ? null : tvcContent.trim();
    }

    public Tv getTv() {
        return tv;
    }

    public void setTv(Tv tv) {
        this.tv = tv;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}